<style>
    th.content{width: 25%;word-break: break-all;word-wrap: break-word}
</style>
<section class="content">
    <div class="table-box">
        <table class="table table-bordered">
            <thead>
            <tr>
                <th>序号</th>
                <th>图标</th>
                <th>服务项目</th>
                <th class="content">描述</th>
                <th class="content">参数</th>

                <th>类型</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="n in serviceList">
                <td>{{$index+1}}</td>
                <td>
                    <img ng-src="{{basePictureUrl + n.icon}}" alt="" width="80px" height="80px" err-src="./img/img-cover.png">
                </td>
                <td>{{n.name}}</td>
                <td>{{n.content}}</td>
                <td>{{n.parameter}}</td>

                <td>
                    <span ng-if="n.service_type == '1'">url链接</span>
                    <span ng-if="n.service_type == '2'">电话弹窗</span>
                    <span ng-if="n.service_type == '3'">文字弹窗</span>
                    <span ng-if="n.service_type == '4'">随访关联</span>
                </td>
                <td><a href="javascript:;" ui-sref="service/serviceDetail({wxServicesId:{{n.row_id}}})">编辑</a> | <a href="javascript:;" data-id="{{n.row_id}}" ng-click="delServer($event)">删除</a></td>
            </tr>
            <tr ng-if="serviceList.length<=0">
                <td colspan="10" class="text-center">暂无数据</td>
            </tr>


            </tbody>
        </table>

    </div>
</section>